home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group99a.txt
/
000152_icon-group-sender _Tue Jul 13 07:57:47 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id HAA01858
for icon-group-addresses; Tue, 13 Jul 1999 07:56:47 -0700 (MST)
Message-Id: <199907131456.HAA01858@baskerville.CS.Arizona.EDU>
Date: Tue, 13 Jul 1999 12:18:39 +0100 (BST)
From: Hugh Sasse <hgs@dmu.ac.uk>
To: Gregg Townsend <gmt@optima.CS.Arizona.EDU>
cc: icon-group@optima.CS.Arizona.EDU
Subject: Re: Versions 9.3.2 of Icon and IPL available for Unix
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
On 10 Jul 1999, Gregg Townsend wrote:
> Version 9.3.2 adds one new feature to Icon: The files in a directory
> can be listed by opening the directory as a file. Subsequent reads
> return the names of the files contained in the directory. The names
> are returned in no particular order, and for Unix, the directories
> "." and ".." are included.
>
I cannot see a function which will allow one to determine if the list of
names one is reading is due to reading a genuine directory or a file
produced by 'ls -a > files'. There seems to be no stat or lstat function.
Have I missed something?
Thank you.
Hugh
hgs@dmu.ac.uk